package com.duda.service;

import com.duda.dao.DownFileHistoryMapper;
import com.duda.projo.DownFileHistory;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class DownFileHistoryServiceImpl implements DownFileHistoryService{
    @Autowired
    DownFileHistoryMapper downFileHistoryMapper;

    @Override
    public List<DownFileHistory> getDownFileHistory(String webUrl)
    {
        return downFileHistoryMapper.getDownFileHistoryByWebUrl(webUrl);
    }

    @Override
    public void InsertDownFileHistory(DownFileHistory downFileHistory) {
        downFileHistoryMapper.insertDownFileHistory(downFileHistory);
    }
}
